/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.comac.ins.isfd.domain.IsfdDatabaseModelConfig;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 数据库建模配置视图对象 isfd_database_model_config
 *
 * @author lj
 * @date 2025-01-16
 */
@Data
@AutoMapper(target = IsfdDatabaseModelConfig.class)
public class IsfdDatabaseModelConfigUpgradeBo implements Serializable {

    /**
     * 版本号
     */
    @NotBlank(message = "版本号不能为空！")
    private String versionNumber;

    /**
     * 上一个版本号
     */
    @NotNull(message = "上个版本不能为空！")
    private Long previousVersionId;
}
